libxl: arm: Fix build after c/s 74fd984ae
authorJulien Grall <julien.grall@arm.com>
Tue, 10 Apr 2018 11:24:53 +0000 (12:24 +0100)
committerWei Liu <wei.liu2@citrix.com>
Tue, 10 Apr 2018 12:57:09 +0000 (13:57 +0100)
commit50f8ba84a50ebf80dd22067a04062dbaaf2621ff
tree99d009ef62ca5a879a3fa55c192dd5b542641774
parent21b5d48cf471709c933055adf3fe22fa0fbc3f85
libxl: arm: Fix build after c/s 74fd984ae

c/s 74fd984ae "tools/libxl: Drop xc_domain_configuration_t from
libxl__domain_build_state" removed state->config completely but missed
some conversion libxl_arm.c.

Furthermore, not all the fields of xc_domain_configuration_t have a
corresponding field in libxl_domain_build_info. This is the case of
clock_frequency. As the field should not be exposed to the user, add a
corresponding field in libxl__domain_build_state. This require some
modification in the prototype of libxl__domain_make in order to have the
state.

For all the other fields, use the up-to-date version in
libxl_domain_build_info.

Signed-off-by: Julien Grall <julien.grall@arm.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
Release-acked-by: Juergen Gross <jgross@suse.com>
tools/libxl/libxl_arch.h
tools/libxl/libxl_arm.c
tools/libxl/libxl_create.c
tools/libxl/libxl_dm.c
tools/libxl/libxl_internal.h
tools/libxl/libxl_x86.c